package com.gulimall.order.feign;

import com.gulimall.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
 * @author kkk
 * @date 2022/8/5
 */
@FeignClient("gulimall-product")
public interface ProductFeignService {
    @GetMapping("/product/spuinfo/findSpu")
    R findSpuBySkuIds(@RequestParam List<Long> skuIds);

    @GetMapping("/product/skuinfo/skuPrice")
    R querySkuPrice(@RequestParam List<Long> skuIds);
}
